package com.shire.shire_interface.common.exception;

/**
 * 业务处理对象的异常
 * 
 * @author fming
 */
public class ServiceException extends BaseRuntimeException {
			
	private static final long serialVersionUID = 1L;
	
	private Integer status;

	public ServiceException() {
		super();
	}

	public ServiceException(String message) {
		super(message);
	}
	public ServiceException(Integer status,String message) {
		super(message);
		this.status = status;
	}
	public ServiceException(String message, Throwable cause) {
		super(message, cause);
	}
	public ServiceException(Integer status,String message, Throwable cause) {
		super(message, cause);
		this.status = status;
	}
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public ServiceException(Throwable cause) {
		super(cause);
	}
}
